package com.wytec.xywzxw.domain;

import com.wytec.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wytec.common.annotation.Excel;

/**
 * 版本更新对象 xw_version
 * 
 * @author xywzxw
 * @date 2025-10-28
 */
public class XwVersion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 平台 android ios applet‌ */
    @Excel(name = "平台 android ios applet‌")
    private String platform;

    /** 版本号 */
    @Excel(name = "版本号")
    private String version;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 更新内容 */
    @Excel(name = "更新内容")
    private String memo;

    /** 是否强制更新  0默认  1强制更新 */
    @Excel(name = "是否强制更新  0默认  1强制更新")
    private Long mustUpdate;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setPlatform(String platform) 
    {
        this.platform = platform;
    }

    public String getPlatform() 
    {
        return platform;
    }

    public void setVersion(String version) 
    {
        this.version = version;
    }

    public String getVersion() 
    {
        return version;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }

    public void setMustUpdate(Long mustUpdate) 
    {
        this.mustUpdate = mustUpdate;
    }

    public Long getMustUpdate() 
    {
        return mustUpdate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("platform", getPlatform())
            .append("version", getVersion())
            .append("status", getStatus())
            .append("memo", getMemo())
            .append("mustUpdate", getMustUpdate())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
